using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 收货地址簿
    /// </summary>
    public class dt_user_addr_book
    {
        /// <summary>
        /// 收货地址簿
        /// </summary>
        public dt_user_addr_book()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public System.Int32? user_id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public System.String user_name { get; set; }

        /// <summary>
        /// 收件人
        /// </summary>
        public System.String accept_name { get; set; }

        /// <summary>
        /// 省市区逗号分隔
        /// </summary>
        public System.String area { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public System.String address { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public System.String mobile { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public System.String telphone { get; set; }

        /// <summary>
        /// 电子邮箱
        /// </summary>
        public System.String email { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public System.String post_code { get; set; }

        /// <summary>
        /// 是否默认
        /// </summary>
        public System.Int32? is_default { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }
    }
}